#include<stdio.h>
int main()
{
	int i,j,t;
	int a[4];
	printf("the four numbers is\n");
	for(i=0;i<4;i++)
	scanf("%d",&a[i]);
	for(j=0;j<3;j++)
	for(i=0;j<3-j;i++)
	if(a[i]>a[i+1])
	{t=a[i];a[i]=a[i+1];a[i+1]=t;}
	printf("the sorted four numbers is\n");
	for(i=0;i<4;i++)
	printf("%d",a[i]);
	return 0;
}
